package
{
	import mx.charts.AreaChart;

	public class AreaChart extends mx.charts.AreaChart
	{
		public function AreaChart()
		{
			super();
		}
		
		private static const extend:Number = 30;
		
		protected override function updateDisplayList(
		        unscaledWidth:Number, unscaledHeight:Number):void {
		    super.updateDisplayList(unscaledWidth, unscaledHeight);
		
		    _seriesHolder.mask.x = -extend;
		    _seriesHolder.mask.y = -extend;
		    _seriesHolder.mask.width = this.dataRegion.width + extend * 2;
		    _seriesHolder.mask.height = this.dataRegion.height + extend * 2;
		}		
	}
}